Component({
    properties: {
        title: {
            type: String
        },
        rules: {
            type: String
        },
        imgUrl: {
            type: String
        },
        skipUrl: {
            type: String
        }
    },
    data: {
        show: !1
    },
    methods: {
        showPopup: function() {
            this.setData({
                show: !0
            });
        },
        onClose: function() {
            this.setData({
                show: !1
            }), this.triggerEvent("close", {});
        },
        toPage: function() {
            this.properties.skipUrl && wx.navigateTo({
                url: this.properties.skipUrl
            });
        }
    }
});